package com.yzkj.siot.annotation;

import com.yzkj.siot.type.PermissionType;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface Permission {

    PermissionType type() default PermissionType.ANY;

    String desc() default "";
}
